package com.classtest.test4;

public class Test {
    public static void main(String[] args) {
        //创建第一个子类对象
        BookSon1 bookSon1 = new BookSon1("鹿鼎记", "金庸", "人民文学出版社", 120.0);
        bookSon1.show();
        System.out.println("=================");
        //创建第二个子类对象
        BookSon2 bookSon2 = new BookSon2("绝代双骄", "古龙", "中国长安出版社", 55.0);
        bookSon2.show();
    }
}
